<link href="../addons/jy_area9fee/custom/templates/mobile/style.css?v=202105251730" rel="stylesheet">
<style type="text/css">
	.icon1 {
		width: .8rem; height: .8rem;
		vertical-align: -0.15em;
		fill: currentColor;
		overflow: hidden;
	}
.fui-block-group {
    border-radius:0.5rem
}
.fui-block-group .fui-block-child {
    background: #fff;
}
.fui-block-group .fui-block-child .icon {height: auto; padding-top: 0.3rem; text-align: center; font-size: 1.3rem;}
.fui-block-group .fui-block-child .icon i { font-size:1.3rem;}
.fui-block-group .fui-block-child .title {
    height: auto;
    font-size: 0.6rem;
    line-height: 1.4
    text-align: center;
    color: #333;
}
</style>
<!--<div class="fe-floatback right" style="left:0.2rem">
		<a href="javascript:void(0);" ng-click="access_json('jy_weishop/index/')">
		<i class="icon jinyunicon icon-back"></i>
		</a>
</div>-->
<div class="fui-page fui-page-current page-commission-index ">
    <div class='fui-content'>
	<div ng-if="pagedata.tips" class="tips tips-yellow" style="margin:0">
			<i class="fa fa-bullhorn"></i> {{pagedata.tips}}
	</div>
	<div style="background: {{main.syscolor||'#05c175'}};padding:1rem 0.5rem;margin-top:0;padding-bottom:1.6rem;">
			<div class="fui-cellone" style="padding:0">
				<div class="fui-cellone-label" style="width:auto;">
					<img style="border-radius: 0.2rem;width:2.2rem;height:2.2rem" ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}" />
				</div>
				<div class="fui-cellone-text" style="font-size:0.7rem;color:#fff;padding-left:0.5rem">
					<div class="bold">{{pagedata.member.nickname || '昵称'}} </div>
					<div style="font-size:0.6rem">推荐人 ：{{pagedata.member.agent.nickname}}</div>
					<div>
						<span style="font-size:0.7rem;margin-top:0.3rem;color:#f2f2f2">({{pagedata.member.leveltitle}})<i class='icon icon-question' style='font-size:8px;'></i></span>
					</div>
				</div>
				<div ng-if="pagedata.setting.myshop==1" class="fui-cellone-remark noremark" style="font-size:1rem;color:#fff;">
					<i href="javascript:;" ng-click="access_json('jy_area9fee/info/main')" class="icon icon-set"></i>
				</div>
			</div>	
			<div class="fui-icon-group noborder  col-3" style="padding-top:0.5rem">
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">{{pagedata.setting.commission_total}}</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.data.commission_total || '0.00'}}</div>
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">佣金笔数</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.feenum || 0}}</div>
														
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">我的下线</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.member.member_num || 0}}</div>
													</div>
					</div>
			</div>			
	</div>
	<div style="padding:0.5rem;margin-top:-2.5rem">
		<div class="fui-cell-group fui-cell-click mod-group" style="margin-top:0.5rem">
			<a class="fui-cell external" href="javascript:;" ng-click="access_json('core/member.xunibi/')">
				<div class="fui-cell-text bold">我的钱包</div>
				<div class="fui-cell-remark" style="font-size: 0.65rem;">查看我的钱包</div>
			</a>
			<div class="fui-icon-group col-4 selecter">
				<div ng-repeat="(key,item) in pagedata.credit_types" ng-if="key!=2" class="fui-icon-col-sm external" style="margin:0">
					<div ng-click="access_json('core/member.xunibi//type='+key)">
						<div class="text bold" style="color:{{main.syscolor || '#7c1cc9'}}">{{item.fee || '0.00'}}</div>
						<div class="subtitle" style="font-size:12px;color: #666;">{{item.title}} <span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
					</div>
				</div>
			</div>
		</div>
		<div class="fui-cell-group radius">
			<div class="fui-cell"style="height: 2.85rem;">
				<div class="fui-cell-icon">
					<i class="icon jinyunicon icon-qrcode"></i>
				</div>
				<div class="fui-cell-text">我的邀请码：{{pagedata.member.mid}}
				</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;" ng-show="pagedata.setting.closed_qrcode!=1"  href="javascript:;" ng-click="access_json('jy_area9fee/qrcode/main')"></div>
			</div>
		</div>
		<div class="fui-block-group">
		<div class="fui-icon-group col-3 selecter" style="padding:0.5rem 0">
			<div class="fui-icon-col-sm external" style="margin:0">
				<div>
					<div class="text bold" style="font-size:0.75rem;color:{{main.syscolor || '#7c1cc9'}}">{{pagedata.data.balance_total || '0.00'}}</div>
					<div class="text" style="color: #666;">{{pagedata.setting.balance_total}}</div>
				</div>
			</div>
			<div class="fui-icon-col-sm external" style="margin:0">
				<div ng-click="access_json('jy_area9fee/commission/main')">
					<div class="text bold" style="font-size:0.75rem;color:{{main.syscolor || '#7c1cc9'}}">{{pagedata.data.commission_1 || '0.00'}}</div>
					<div class="text" style="color: #666;">{{pagedata.setting.commission_1}}<span style="color:{{main.syscolor || '#4491F1'}}">查看</span></div>
				</div>
			</div>
			<div class="fui-icon-col-sm external" style="margin:0">
				<div>
					<div class="text bold" style="font-size:0.75rem;color:{{main.syscolor || '#7c1cc9'}}">{{pagedata.data.mybuy || '0.00'}}</div>
					<div class="text" style="color: #666;">自购总额(元)</div>
				</div>
			</div>
		</div>
		</div>
		<div class="fui-block-group new col-2" style='overflow: hidden;'>
            <a class="fui-block-child new  external" href="javascript:;" ng-click="access_json('jy_area9fee/commission/main')">
                <div class="icon " style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
                <div class="text new">
					<div class="title">{{pagedata.setting.commission_total}}</div>
                    <div class=""><span>{{pagedata.data.commission_total || '0.00'}}</span> 元</div>
				</div>
            </a>
			<a class="fui-block-child new external" href="javascript:;" ng-click="access_json('jy_area9fee/order//type=1')">
                <div class="icon" style="color: #9ec9f4;"><i class="icon jinyunicon icon-dingdan"></i></div>
				<div class="text new">
					<div class="title">收益明细</div>
					<div class=""><span>{{pagedata.feenum || 0}}</span> 笔</div>
				</div>
            </a>
            <a class="fui-block-child new  external" href="javascript:;" ng-click="access_json('jy_area9fee/balance/main')">
                <div class="icon" style="color: #ffbe2e;"><i class="icon jinyunicon icon-wodeqianbao"></i></div>
				<div class="text new">
					<div class="title">已结算分红</div>
					<div class=""><span>{{pagedata.data.balance_num || 0}}</span> 笔</div>
				</div>
            </a>
            <a class="fui-block-child new  external" href="javascript:;" ng-click="access_json('jy_area9fee/down/main')">
                <div class="icon "  style="color: #ff6e02;"><i class="icon jinyunicon icon-paihao0"></i></div>
				<div class="text new">
					<div class="title">我的下线</div>
					<div class=""><span>{{pagedata.member.member_num || 0}}</span>人</div>
				</div>
            </a>
		

	</div>
		<!--{/if}-->
		<div class="fui-cell-group radius">
			<a ng-show="pagedata.setting.closed_qrcode!=1"  href="javascript:;" ng-click="access_json('jy_area9fee/qrcode/main')" class="fui-cell">
				<div class="fui-cell-icon ">
					<i class="icon jinyunicon icon-erweima text-yellow"></i>
				</div>
				<div class="fui-cell-text">推广二维码</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;"></div>
			</a>
			<a ng-repeat="item in pagedata.pluginset.bankuai" class="fui-cell" href="javascript:;" ng-click="access_json(item.action)">
				<div class="fui-cell-icon ">
					<i class="icon {{item.icon || 'icon-all'}} text-yellow"></i>
				</div>
				<div class="fui-cell-text">{{item.title}}</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;"></div>
			</a>
		</div>
    </div>
	</div>
</div>
<div ng-include="sys_html('common/_h5game',true)"></div>
<div ng-click="pagedata.show_xieyi=true" class="fui-navbar-tip"><red>请先阅读</red>《{{pagedata.xieyi.apply_title||'服务管理规则'}}》.</div>
<div ng-include="sys_html('_footer')"></div>
<div ng-if="pagedata.show_xieyi" class="popup">
	<div class="popup-body">
		<div class="popup-center">
			<i class="closed icon icon-cuowu" ng-click="pagedata.show_xieyi=false"></i>
			<div class="content-images" style="padding:0.5rem;height:20rem; overflow-y:scroll;">
					<div class="title bold" style="font-size:0.8rem">{{pagedata.xieyi.apply_title||'服务管理规则'}} / <small>Read Ggree</small></div>
					<div class="text" style="padding-top:0.5rem;font-size:0.7rem" ng-bind-html="trust(pagedata.xieyi.apply_content)">
					</div>
			</div>
			<div class="modal-footer">
				<div ng-click="pagedata.show_xieyi=false;pagedata.post.check=1" class="mod-check" style="width: 100%; margin: 0;">我已阅读</div>
			</div>
		</div>
	</div>
</div>